<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            padding: 0;
            margin: 0;
        }
        body{
            display: flex;
            min-height: 100vh;
            justify-content:center;
            align-items:center;
        }
        .box{
            display: grid;
            width: 400px;
            height: 400px;
            grid-template: repeat(2,1fr)/repeat(2,1fr);
            gap: 2px;
        }
        .box >div{
            border: 1px solid;
        }
        .box > div:hover{
            cursor: pointer;
        }
        .box>div:nth-child(1)
        {
            border-radius: 100%  0 0 0 ;
            background-color:hsl(120,60%,70%);
        }
        .box>div:nth-child(1):hover{
            transform: translate(-15%,-15%) scale(1.2,1.2);
            transition:1s ;
        }

        .box>div:nth-child(2):hover{
            transform: translate(15%,-15%) scale(1.2,1.2);
            transition:1s ;
        }
        .box>div:nth-child(3):hover{
            transform: translate(-15%,15%) scale(1.2,1.2);
            transition:1s ;
        }
        .box>div:nth-child(4):hover{
            transform: translate(15%,15%) scale(1.2,1.2);
            transition:1s ;
        }
        @keyframes show{
            0%{
                transform: translate(0%,0%) scale(1,1)
            }
            100%{
                transform: translate(-40%,-40%) scale(1.5,1.5)
            }
        }
        .box>div:nth-child(2)
        {
            border-radius: 0 100%  0 0  ;
            background-color:hsl(0,60%,60%);
        }
        .box>div:nth-child(4)
        {
            border-radius: 0  0  100% 0 ;
            background-color:hsl(60,60%,60%);
        }
        .box>div:nth-child(3)
        {
            border-radius: 0 0  0 100%;
            background-color:hsl(240,60%,60%);
        }
    </style>
</head>
<body>
     <div class="box">
         <div></div>
         <div></div>
         <div></div>
         <div></div>
     </div> 
</body>
</html>